package com.liao.common.constant;


import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 状态码枚举类
 */
@AllArgsConstructor
@Getter
public enum StatusCodeEnum {
    STATUS200(200, "操作成功"),
    STATUS201(201, "操作失败"),
    STATUS403(403, "无权访问"),
    STATUS404(404, "请求资源不存在"),
    STATUS500(500, "系统异常");

    private final Integer code;
    private final String msg;
}

